package com.jbm.jbmsupplier.util;

import java.io.Serializable;

/**
 * Created by root on 16-3-29.
 */
public class IPay extends ICtrl implements Serializable
{
	public IPay ()
	{
		back = false;
		method = "";
		errorinfo = "";

		start = 0;
		count = 0;
	}

	public IPay ( boolean back, String errorinfo )
	{
		this();

		this.back = back;
		this.errorinfo = errorinfo;
	}

	public IPay ( String method, int pay_id )
	{
		this();

		this.method = method;
		this.pay_id = pay_id;
	}

	public IPay ( String method, int pay_id, int acc_id, String acc_type, String pay_type, String cacc_type, String pay_serial, String type, String status, int start, int count, String start_date, String end_date )
	{
		this();

		this.method = method;
		this.pay_id = pay_id;
		this.acc_id = acc_id;
		this.acc_type = acc_type;
		this.pay_type = pay_type;
		this.cacc_type = cacc_type;
		this.pay_serial = pay_serial;
		this.type = type;
		this.status = status;

		this.start = start;
		this.count = count;

		this.start_date = start_date;
		this.end_date = end_date;
	}

	public IPay ( String method, int pay_id, int acc_id, String acc_type )
	{
		this();

		this.method = method;

		this.pay_id = pay_id;
		this.acc_id = acc_id;
		this.acc_type = acc_type;
	}
	private static final long serialVersionUID = 2500001L;



	public int pay_id;
	public String pay_code;
	public int bal_id;
	public String amount;
	public int acc_id;
	public String acc_type;
	public String acc_name;
	public String pay_type;
	public String cacc_type;
	public String pay_serial;
	public String type;
	public String status;
	public String create_date;
	public int create_id;
	public String expire_date;
	public String close_date;
	public int close_id;

	public int order_id;


	public String start_date;
	public String end_date;
}
